/**
 * 
 */
package es.ucm.is.www.persistence;

/**
 * @author alberto
 *
 */
public class ThreadPrueba extends Thread {
	//private PersistenceLayer persistence;
	
	public ThreadPrueba(PersistenceLayer pl) {
		//persistence=pl;
	}
	
	public void run() {
		//persistence.var=new Integer(0);
		int i=0;
		while(i<10) {
			i++;
			//persistence.var=new Integer(i);
			try{Thread.sleep(3000);}catch (InterruptedException e){}
			//System.out.println(persistence.var.toString());
		}
	}
}
